package groupId.task;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@JsonDeserialize(using = TaskInputDeserializer.class)
public abstract class TaskInput {
    private String type;
    private String value;
    @JsonProperty("wait_seconds")
    private int waitSeconds = 60;

    public String getType() {
        return this.type;
    }

    public String getValue() {
        return this.value;
    }

    public int getWaitSeconds() {
        return this.waitSeconds;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void setWaitSeconds(int waitSeconds) {
        this.waitSeconds = waitSeconds;
    }
}
